Package-level declarations

Types

Link copied to clipboard
data class StylishChartColors(val categorical: List<Color>)

Categorical color palette for chart and data-visualization components.

Link copied to clipboard
data class StylishComponentColors(val groupedContainer: Color, val card: Color, val cardContent: Color, val button: Color, val buttonContent: Color, val chip: Color, val chipContent: Color, val textField: Color, val textFieldContent: Color)

Derived component-level colors that are computed from the active ColorScheme rather than stored as static palette values.

Link copied to clipboard

Accessor object for the current StylishTheme composition-local values.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Dark-mode ColorScheme for the Stylish UI design system.

Link copied to clipboard

Light-mode ColorScheme for the Stylish UI design system.

Link copied to clipboard

The default Typography scale for the Stylish UI design system.

Functions

Link copied to clipboard

Darkens this color by interpolating it toward Color.Black.

Link copied to clipboard

Harmonizes this color with a primary color so that both share a compatible hue while remaining distinguishable.

Link copied to clipboard

Lightens this color by interpolating it toward Color.White.

Link copied to clipboard
fun StylishTheme(darkTheme: Boolean, dynamicColor: Boolean = false, seedColor: Color? = null, colorScheme: ColorScheme = if (darkTheme) StylishDarkColorScheme else StylishLightColorScheme, typography: Typography = StylishTypography, materialShapes: Shapes = Shapes(), dimensions: StylishDimensions = DefaultStylishDimensions, shapes: StylishShapes = DefaultStylishShapes, animation: StylishAnimationTokens = DefaultStylishAnimationTokens, componentColors: StylishComponentColors? = null, content: @Composable () -> Unit)

Root theme composable that applies the Stylish UI design language to all descendant content.

Link copied to clipboard